﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Model
{
	public class Comment:BaseId
	{
		[SqlSugar.SugarColumn(ColumnDataType = "text")]
		public string? Content { get; set; }

		[SqlSugar.SugarColumn(ColumnDataType = "bit")]
		public bool Like { get; set; }

        [SqlSugar.SugarColumn(ColumnDataType = "int")]
        public int ArticleID { get; set; }

		[SqlSugar.SugarColumn(ColumnDataType = "int")]
		public int AuthorId { get; set; }
    }
}
